package com.yuyou.fn.settlement.service;

import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.settlement.entity.TradeProp;

import java.util.List;
import java.util.Map;

/**
 *
 * TradeProp 表数据服务层接口
 *
 */
public interface ITradePropService extends ISuperService<TradeProp,Long> {

    Map<String,String> findByTradeId(Long tradeId);

    List<TradeProp> findByTradeIds(List<Long> tradeIds);

    List<TradeProp> findValueByTradeIdsName(List<Long> tradeIds, String name);

    List<TradeProp> findValueByTradeIdsNames(List<Long> tradeIds, String ... names );
}